use actix_web::web;
use log::info;

static LOCAL_PATH: &str = "./static";
//static LOCAL_PATH: &str = "./web_site";
pub fn config(cfg: &mut web::ServiceConfig) {
    info!("Configuring static file service");
    cfg.service(actix_files::Files::new("/", LOCAL_PATH).index_file("index.html"));
}
